Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zynqmp updates #484

Merged
merged 7 commits into from
Aug 14, 2024
Merged

Zynqmp updates #484

merged 7 commits into from
Aug 14, 2024

Conversation

dgarske
Copy link
Contributor

@dgarske dgarske commented Aug 8, 2024

  • Fixes for Xilinx zynqmp.
  • Fixes for building with Eclipse wildcard .c include pains.
  • Refactor to eliminate PLATFORM_ -> TARGET_. Fix CI errors.
  • Fixes for Zynqmp QSPI sizes on ZCU102.
  • Fix for XMSS/LMS on Windows mingw with fopen binary mode.
  • Xilinx zynqmp documentation cleanups.

@dgarske
Copy link
Contributor Author

dgarske commented Aug 14, 2024

@danielinux this PR is at a good checkpoint to merge. The basic hello world is working when built from Xilinx Vitis IDE. Next I'll be working on getting this working with our native Makefile and gcc cross compiler.

Booting “hello world” with XMSS on wolfBoot:

wolfBoot Secure Boot
Read FlashID Lower: Ret 0, 20 BB 20
Read FlashID Upper: Ret 0, 20 BB 20
Versions: Boot 1, Update 0
Trying Boot partition at 800000
Loading header 5000 bytes from 800000 to FFFEC78
Loading image 226024 bytes from 801388 to 10000000
Boot partition: FFFEC78 (size 226024, version 0x1)
info: XMSS wolfBoot_verify_signature
info: using XMSS parameters: XMSS-SHA2_10_256
info: wc_XmssKey_Verify returned OK
Successfully selected image in part: 0
Firmware Valid
Loading elf at 10000000
Found valid elf64 (little endian)
Program Headers 2 (size 56)
Load 57536 bytes (offset 10000) to 0 (p 0)
Clear 20600 bytes at 0 (p 0)
Entry point 0
Failed parsing DTB to load
Booting at 0
Hello World

Successfully ran Hello World application

Booting “hello world” with LMS on wolfBoot:

wolfBoot Secure Boot
Read FlashID Lower: Ret 0, 20 BB 20
Read FlashID Upper: Ret 0, 20 BB 20
Versions: Boot 1, Update 0
Trying Boot partition at 800000
Boot partition: 800000 (size 226024, version 0x1)
info: LMS wolfBoot_verify_signature
info: using LMS parameters: L2-H5-W8
info: wc_LmsKey_Verify returned OK
Successfully selected image in part: 0
Firmware Valid
Loading flash image from 8014A8 to RAM at 10000000 (226024 bytes)
Loading elf at 10000000
Found valid elf64 (little endian)
Program Headers 2 (size 56)
Load 57536 bytes (offset 10000) to 0 (p 0)
Clear 20600 bytes at 0 (p 0)
Entry point 0
DTB boot partition: 7B0000
Failed parsing DTB to load
Booting at 0
Hello World

Successfully ran Hello World application

@dgarske dgarske assigned danielinux and unassigned dgarske Aug 14, 2024
@danielinux
Copy link
Member

Thanks for unifying $PLATFORM->$TARGET as discussed.

@danielinux danielinux merged commit 13fc3c0 into wolfSSL:master Aug 14, 2024
95 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants